/* 清除默认样式 */
*{margin: 0; padding: 0;}
a, a:hover,a:link,a:visited,a:active{
    text-decoration: none;
}
ul,ol,li{
    list-style: none;
}

img{
    vertical-align: top;
    border: none;
}

a{
    text-decoration: none;
    cursor: pointer;
    color: #333;
}

/* 输入框去掉默认选择样式 */
input:focus{
    outline: none;
}
input{
    outline: 0;
}

button{
    outline: 0;
}

/* 版心设计 */
.bancen{
    width: 990px;
    margin: 0 auto;
}

/* 头部 */

.header{
    height: 88px;
}

/* logo */

.header>.logo{
    float: left;
    width: 190px;
    height: 100%;
    margin-right: 24px;
    background: url(https://res.suning.cn/project/srsregister/css/image/sprite.png?v=1541754766549) no-repeat;
}

/* logo-txt */
.header>.logo-txt{
    float: left;
    font-size: 18px;
    color: #666;
    line-height: 88px;
}

/* 顶部右边跳转链接 */
.header>.login{
    float: right;
    margin-top: 63px;
    color: #333;
    font-size: 12px;
}

.header>.login:hover{
    color: red;
}

/* 注册表单 */
.main{
    width: 990px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-top: 3px solid #f90;
    background: #fff;
    padding: 55px 0;
    line-height: 1.5;
}

/* 表格 */
.main>form>.reg-form{
    display: block;
    width: 380px;
    margin: 0 auto;
    /* background-color: red; */
}

/* 礼物 */
.main>form>.reg-form>.gift-pkg{
    font-size: 14px;
    line-height: 17px;
    padding-left: 2px;
    margin-bottom: 17px;
}
.main>form>.reg-form>.gift-pkg>i{
    float: left;
    width: 19px;
    height: 17px;
    margin-right: 6px;
    background: url(https://res.suning.cn/project/srsregister/css/image/sprite.png?v=1541754766549) -75px -93px no-repeat;
}

/* 用户名 */
.input-box{
    width: 378px;
    height: 38px;
    border: 1px solid #ccc;
    font-size: 12px;
    line-height: 38px;
    /* margin-bottom: 25px; */
}
.input-box>.title{
    float: left;
    width: 76px;
    padding-left: 11px;
}
.input-box>.input-wrapper{
    position: relative;
    float: left;
    height: 100%;
    width: 291px;
}
/* 输入框 */
.input-box>.input-wrapper>input{
    display: inline-block;
    text-indent: 10px;
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #cacaca;
    border: 0;
    background: 0;
}

/* 失败的尝试 */
 /* .input-wrapper>.placeholder{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #cacaca;
    cursor: text;
}  */


/* 获取焦点使得提示语消失 */
/* .input-box:focus>.placeholder{
    display: none;
} */

/* 密码 */


/* 验证码按钮 */
.send-msg{
    float: left;
    width: 148px;
    height: 100%;
    line-height: 38px;
    text-align: center;
    background: #f5f5f5;
    border: 1px solid #bbb;
    font-size: 14px;
    margin: -1px -1px 0 0;
    text-decoration: none;
}

/* 注册按钮 */
.submit-btn{
    display: block;
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    line-height: 40px;
    background: #f60;
    font-size: 20px;
    color: #fff;
    margin: 24px 0 5px;
}


/* 底部图片假的 */
.footer{
    position: relative;
    top: 20px;
}

.footer>img{
    width: 900px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

}

/* 验证码信息 */
.spanspan{
    display: block;
    height: 25px;
    color: red;
    font-size: 12px;
}
/* 用户名信息 */
.spanName{
    text-indent: 36px;
    display: block;
    font-size: 12px;
    line-height: 25px;
    height: 25px;
}
/* 密码 */
.spanPwd{
    text-indent: 36px;
    display: block;
    font-size: 12px;
    line-height: 25px;
    height: 25px;
}
/* 注册成功 */
.result{
    /* float: left; */
    text-align: center;
    width: 600px;
    height: 300px;
    
}
